import { axiosInstance } from '../utils/request'

//获取在线
export const getOnline = (data) => {
    return axiosInstance.get(`/online?${data}`, { headers: { 'Authentication': localStorage.token } })
}

//登出
export const delOnline = (data) => {
    return axiosInstance.delete(`/kickout/${data}`, { headers: { 'Authentication': localStorage.token } })
}